package efuliBusiness.efuliApi;

import com.alibaba.fastjson.JSONObject;

/**
 * Created by yangxianming on 2018/6/7.
 * for WelfarepointSetData Class's function "efuli_welfarepoint_member_create"
 */
public class Member {
    public JSONObject getMember() {
        JSONObject jsonObject = new JSONObject();
        jsonObject.put("cert_type", cert_type);
        jsonObject.put("cert_no", cert_no);
        jsonObject.put("name", name);
        jsonObject.put("cardno", cardno);
        jsonObject.put("mobile", mobile);
        jsonObject.put("department", department);
        return jsonObject;
    }

    private String cert_type;
    private String cert_no;
    private String name;
    private String cardno;
    private String mobile;
    private String department;
    public Member(String cert_type, String cert_no, String name, String cardno, String mobile, String department){
        this.cert_type = cert_type;
        this.cert_no = cert_no;
        this.name = name;
        this.cardno = cardno;
        this.mobile = mobile;
        this.department = department;
    }
}
